package com.mohan.util;

import java.util.List;

/**
 * 分页获取用户列表
 * @author Administrator
 *
 */
public class UserListInfo {
	/**
	 * totalPages:所有页数
	 * totalRecord:总记录条数
	 * queryPage:要查询的页码
	 * eachPageSize:每页查询的条数
	 * role:要查询的角色:[1--超级管理员，2--普通管理员，3--普通用户;默认3--普通用户]
	 * start:开始查询的编号
	 * uPageInfos:用户列表
	 */
	private int totalPages;
	private int totalRecord;
	private int queryPage;
	private int eachPageSize;
	private int role;
	private int start;
	private List<UserPageInfo> uPageInfos;
	
	public UserListInfo(){
		this.totalPages = -1;
		this.totalRecord = -1;
		this.queryPage = -1;
		this.eachPageSize = -1;
		this.role = -1;
		this.start = 0;
	}
	public int getTotalPages() {
		return totalPages;
	}
	public void setTotalPages(int totalPages) {
		this.totalPages = totalPages;
	}
	public int getTotalRecord() {
		return totalRecord;
	}
	public void setTotalRecord(int totalRecord) {
		this.totalRecord = totalRecord;
	}
	public int getQueryPage() {
		return queryPage;
	}
	public void setQueryPage(int queryPage) {
		this.queryPage = queryPage;
	}
	public int getEachPageSize() {
		return eachPageSize;
	}
	public void setEachPageSize(int eachPageSize) {
		this.eachPageSize = eachPageSize;
	}
	public int getRole() {
		return role;
	}
	public void setRole(int role) {
		this.role = role;
	}
	public int getStart() {
		return start;
	}
	public void setStart(int start) {
		this.start = start;
	}
	public List<UserPageInfo> getuPageInfos() {
		return uPageInfos;
	}
	public void setuPageInfos(List<UserPageInfo> uPageInfos) {
		this.uPageInfos = uPageInfos;
	}
}
